﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.ComponentModel;
using DoAnWeb.DTO;
using DoAnWeb.DAO;

namespace DoAnWeb.BUS
{
    public class BinhLuanBUS
    {
        private BinhLuanDAO DAO = new BinhLuanDAO();


        public BindingList<BinhLuanDTO> GetList_TinKhuyenMai(int _Ma)
        {
            return DAO.GetList_TinKhuyenMai(_Ma);
        }

        public bool Delete(int _Ma)
        {
            return DAO.Delete(_Ma);
        }

        public bool CheckDelete(int _Ma)
        {
            return DAO.CheckDelete(_Ma);
        }

        public bool UnCheckDelete(int _Ma)
        {
            return DAO.UnCheckDelete(_Ma);
        }

        public bool Add(BinhLuanDTO _DTO)
        {
            return DAO.Add(_DTO);
        }
        
    }
}